package me.shiqiang.im.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;


/**
 * Created by John on 2018/3/6
 */
@RedisHash("FriendRequest")
public class FriendRequest {


    @Id
    private Long requestUserId;
    private String requestMessage; //多次请求则拼字符串
    private String createDate;
    private Integer status; //0:等待回应 1:通过 2:拒绝

    public Long getRequestUserId() {
        return requestUserId;
    }

    public void setRequestUserId(Long requestUserId) {
        this.requestUserId = requestUserId;
    }

    public String getRequestMessage() {
        return requestMessage;
    }

    public void setRequestMessage(String requestMessage) {
        this.requestMessage = requestMessage;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
